package com.atguigu.day02;

public class ReadCode2 {

    public static void main(String[] args) {
        int i = 2;
        i *= i++;  // i = i * i++ = 2 * 2

        int j = 2;
        j *= j + 1;  // j = j * (j+1)  6

        int k = 2;
        k *= ++k;  // k = k * ++k 6  没懂

        System.out.println("i=" + i);//i=4
        System.out.println("j=" + j);//i=6
        System.out.println("k=" + k);
    }
}
